<template>
  <router-view/>
</template>
<script setup lang="ts">
import { onMounted } from 'vue';
import { useStore } from 'vuex'

const $store = useStore()

onMounted(() => {
  $store.dispatch('getDevicePortList')// 刷新串口列表
})
</script>
<style>
</style>
